Skip to content

feat: normalize Android snapshots#16

Merged
thymikee merged 1 commit into
mainfrom
feat/normalize-format
Feb 6, 2026
Merged

feat: normalize Android snapshots#16
thymikee merged 1 commit into
mainfrom
feat/normalize-format

Conversation

@thymikee

@thymikee thymikee commented Feb 5, 2026

Copy link
Copy Markdown
Member

Summary

Normalizes Android snapshot output to reduce structural noise and improve actionability.
Flattens snapshot -i rendering so interactive snapshots are easier to scan.
Improves role/type mapping for Android classes and suppresses generic resource-id labels on structural nodes.

  • snapshot -i now displays as a flat list (no deep indentation).
  • Android snapshot inclusion heuristics now favor meaningful, actionable elements over container-heavy output.
  • Output formatter now handles malformed nodes safely and renders cleaner labels/types.

before:

@e10 [android.view.View]           
  @e11 [android.widget.TextView]

after:

@e10 [group]           
  @e11 [text]

Impact

  • Better agent readability and lower token noise in interactive snapshots.
  • Less trial-and-error for common UI actions, especially on Android.

@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-16/

Built to branch gh-pages at 2026-02-05 19:50 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit 22bfcee into main Feb 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant